home *** CD-ROM | disk | FTP | other *** search
/ Belgian Amiga Club - ADF Collection / BS1 part 65.zip / BS1 part 65 / Math Visin v2.1 disk 2.adf / DataTemplates / 1d_Array_Fixed_Size < prev    next >
Text File  |  1992-02-14  |  830b  |  35 lines

  1. ! 1d_Array_Fixed_Size    one dimensional array
  2. ! the number of elements must be included in this template, in Elements
  3. ! scaling must be included in this template, assigned to Low and High
  4. !
  5. !-------------------------------- Prototype of data file --------------------
  6. ! data
  7. ! data 
  8. ! data
  9. ! data
  10. !-------------------------------- Example of data file -----------------------
  11. ! 4.3  ! actual data
  12. ! 3.4 
  13. ! 5.6
  14. ! 1.2
  15. ! 6.7
  16. !--------------------------------
  17.  
  18. Define Elements Integer
  19. Define Low Real
  20. Define High Real
  21.  
  22. !---------------------- Insert number of Elements and Scaling Here -----------
  23. Assign Elements 5
  24. Assign Low  0.0
  25. Assign High 1.0
  26. !-----------------------------------------------------------------------------
  27.  
  28. BeginStructure
  29.   DefArray Elements Low High
  30.       DefDataType IEEE8
  31.   EndArray
  32. EndStructure
  33.  
  34. RecurseRead
  35.